[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Attr


Purpose   Combines a foreground and a background color into an attribute
          byte.

Decln.    Attr(F,B:byte):byte;

Returns   Byte

Example

BEGIN
    FASTWRITE(1,2,ATTR(YELLOW,RED),'HELLO');
END;

This command is the equivalent of:

    WRITEAT(1,1,YELLOW,RED,'HELLO');

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson